  <div id="update-acctep">
          <div class="mod-tit"><a href="#">Số người tham gia dự án</a></div>
          <div class=" mod-cont">
            <div class="table">
              <table cellpadding="3" cellspacing="3" border="0" width="100%">
                <tr>
                  <th width="35%">Người tham gia</th>
                  <th >Thông điệp</th>
                  <th width="20%">Giá</th>
                  <th  width="15%">Tham gia</th>
                  <?php if ($this->model->user_id == Yii::app()->user->id): ?>
                  <th  width="20%">Quản lý</th>
                <?php endif; ?>
                </tr>
              </table>
            </div>
            <div class="table">
              <table cellpadding="3" cellspacing="3" border="0" width="100%">
                <tr>
                  <?php foreach ( $this->model->bidjobs as $i){ ?>
                  <td width="35%">
              <div class="ava">
                    <img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/ava2.gif" align="left" /><?php echo $i->user->name; ?> <br />
                    <img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/star.png" />
                    <img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/star.png" />
                    <img src="<?php echo Yii::app()->request->baseUrl; ?>/themes/bjoco/images/star.png" />
                        <td  align="center"><?php echo $i->desc; ?></td>
                        <td  width="20%" align="center"><?php echo $i->money ?><br /><?php echo 'Trong '.$i->timeduration.' ngày'; ?></td>
                        <td width="15%" align="center"><?php
                          $date = date("Y-m-d",strtotime($i->timepost));
                          echo $date;  
                         ?> </td>
                    <?php if ($this->model->user_id == Yii::app()->user->id): ?>
                        <td width="20%">
                         <?php echo CHtml::button("Chấp nhận",array('id'=>"buttonSubmit",'style'=>'height:20px;display: inline;',
                        'onclick'=>CHtml::ajax(array(
                                'url'=>Yii::app()->createUrl('/job/create/accept',array('id'=>$i->id)),
                                'update'=>'#update-acctep',
                                ))
                    )); ?>
                        </td>
                    <?php endif; ?>
                    </tr>
                  <?php } ?>

              </table>
            </div>     
          </div>
          <div class="clr"></div>
        </div>